package com.saihai.jiankang.ufTjxxxgjlb.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.saihai.jiankang.ufTjxxxgjlb.mapper.UfTjxxxgjlbMapper;
import com.saihai.jiankang.ufTjxxxgjlb.domain.UfTjxxxgjlb;
import com.saihai.jiankang.ufTjxxxgjlb.service.IUfTjxxxgjlbService;

/**
 * 修改记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-07-22
 */
@Service
public class UfTjxxxgjlbServiceImpl implements IUfTjxxxgjlbService 
{
    @Autowired
    private UfTjxxxgjlbMapper ufTjxxxgjlbMapper;

    /**
     * 查询修改记录
     * 
     * @param id 修改记录主键
     * @return 修改记录
     */
    @Override
    public UfTjxxxgjlb selectUfTjxxxgjlbById(Long id)
    {
        return ufTjxxxgjlbMapper.selectUfTjxxxgjlbById(id);
    }

    /**
     * 查询修改记录列表
     * 
     * @param ufTjxxxgjlb 修改记录
     * @return 修改记录
     */
    @Override
    public List<UfTjxxxgjlb> selectUfTjxxxgjlbList(UfTjxxxgjlb ufTjxxxgjlb)
    {
        return ufTjxxxgjlbMapper.selectUfTjxxxgjlbList(ufTjxxxgjlb);
    }

    /**
     * 新增修改记录
     * 
     * @param ufTjxxxgjlb 修改记录
     * @return 结果
     */
    @Override
    public int insertUfTjxxxgjlb(UfTjxxxgjlb ufTjxxxgjlb)
    {
        return ufTjxxxgjlbMapper.insertUfTjxxxgjlb(ufTjxxxgjlb);
    }

    /**
     * 修改修改记录
     * 
     * @param ufTjxxxgjlb 修改记录
     * @return 结果
     */
    @Override
    public int updateUfTjxxxgjlb(UfTjxxxgjlb ufTjxxxgjlb)
    {
        return ufTjxxxgjlbMapper.updateUfTjxxxgjlb(ufTjxxxgjlb);
    }

    /**
     * 批量删除修改记录
     * 
     * @param ids 需要删除的修改记录主键
     * @return 结果
     */
    @Override
    public int deleteUfTjxxxgjlbByIds(Long[] ids)
    {
        return ufTjxxxgjlbMapper.deleteUfTjxxxgjlbByIds(ids);
    }

    /**
     * 删除修改记录信息
     * 
     * @param id 修改记录主键
     * @return 结果
     */
    @Override
    public int deleteUfTjxxxgjlbById(Long id)
    {
        return ufTjxxxgjlbMapper.deleteUfTjxxxgjlbById(id);
    }
}
